package com.sixteen.ordering_system.mapper;

import com.sixteen.ordering_system.pojo.DishOrderMiddle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sixteen
 * @since 2022-09-16
 */
@Mapper
@Repository
public interface DishOrderMiddleMapper extends BaseMapper<DishOrderMiddle> {

    DishOrderMiddle insertMiddle(DishOrderMiddle dishOrderMiddle);

    List<DishOrderMiddle> selectOrderMiddle();

}
